<script setup>
import {getTrends} from '@/apis/home.js'
import {reactive} from "vue";

const moreDetail = reactive({});
getTrends().then(res => {
  Object.assign(moreDetail, res.data);
})
</script>

<template>
  <div class="slogo">
    <div class="texr">
      <div>因材施教</div>
      <div>科学成长</div>
      <div>为国育才</div>
    </div>
    <div class="rightx"></div>
  </div>
  <div class="boo" style="position: relative">
    <div style="box-sizing: border-box;padding-top: 100px;background: #E5E5E5;width: 100%;height: 888px;">
    <div class="boxsssw">
      <div class="boxiitem" v-for="(item,index) in moreDetail" :key="index">
        <div class="img">
          <a-image height="100%" width="100%" :src="item.cover" :preview="true" />
        </div>
        <div class="liness line2"></div>
        <div class="title sline">{{item.title}}</div>
      </div>
    </div>
     <div class="right" style="position:absolute;right: 0px"></div>
    </div>
    <div class="asdasdaaaa" style="background: #fff;position: absolute">
      <div class="" style="width: 65%;margin-left: auto;height: 100%;background: #E5E5E5;z-index: 3;"></div>
    </div>
  </div>
</template>

<style scoped lang="scss">

.boxsssw {
  width: $page-width;
  z-index: 1;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  flex-flow: row wrap;
  gap: 10px;
  justify-content: space-between;
  .boxiitem {
    .img {
      width: 512px;
      height: 361px;
    }
    .line2 {
      width: 120px;
      height: 5px;
      margin-top: 10px;
    }
    .title {
      font-size: 23px;
      color: #000000;
      width: 512px;
      margin-top: 20px;
      text-align: left;
      font-style: normal;
    }
  }
}

.asdasdasdasdasd {
  margin-left: 200px;
  margin-top: 530px;
  .liness {
    height: 6px;
    width: 100px;
  }
}
.asdasdaaaa {
  height: 167px;
}
.sadasd {
  font-size: 26px;margin-top: 20px;
}
.slogo {
  position: absolute;
  right: 0;
  top: 92px;
  z-index: 1;
  width: 1060px;
  height: 118px;
  margin-left: auto;
  background: linear-gradient( 180deg, #1E6FEC 0%, #003687 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  .texr {
    z-index: 111;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 38px;
    line-height: 38px;
    font-style: normal;
    color: #fff;
    > div {
      margin-left: 40px;
    }
  }
  .rightx {
    height: 2px;
    background: #fff;
    margin-left: auto;
  }
}
.boo {
  > div {
    display: flex;
    flex-direction: row;
  }
  .left {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .imgbox {
      margin-top: 300px;
      position: relative;
      .imgss{
        position: absolute;
        z-index: 1;
        width: 689px;
        height: 473px;
        margin-bottom: 45px;
        margin-left: 200px;

        img {
          width: 100%;
          height: 100%;
        }
      }
      .hoverdiv {
        position: absolute;
        width: 542px;
        height: 331px;
        background: linear-gradient(to top, rgba(29, 109, 232, 0) 0%, #718DB6 100%);
        right: -100px;
        top: 100px;
        z-index: 2;
      }
    }
    box-sizing: border-box;
    padding-left: 200px;
  }
  .right {
    background: #CECECE;
    height: 988px;
    box-sizing: border-box;
    padding-left: 350px;
    width: 1871px;
    padding-top: 100px;
    .contessadnt{
      height: 100%;
      overflow-y: auto;
      min-height: 60vh;
      ::v-deep span {
        background: #CECECE !important;
        line-height:80px !important;
      }
      ::v-deep section {
        background: #CECECE !important;
      }
      ::v-deep ul {
        background: #CECECE !important;
      }
      ::v-deep p {
        background: #CECECE !important;
      }

      ::v-deep span {
        background: #CECECE !important;
      }

      ::v-deep div {
        background: #CECECE;
      }

      ::v-deep img {
        width: 100% !important;
      }
    }
  }
}


</style>
